package net.yondervision.hrfsp.sdk.esign.domain.request.body;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import net.yondervision.hrfsp.sdk.esign.domain.ParamBody;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/09/27 21:35
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DocTemplatesCreateByUploadUrlParamBody extends ParamBody {

  /**
   * 模板文件md5值
   */
  private String contentMd5;
  /**
   * 目标文件的MIME类型
   */
  private String contentType;
  /**
   * 文件名称，必须带扩展名
   */
  private String fileName;
  /**
   * 是否需要转成pdf
   * 如果模板文件为.doc/.docx 传true，为pdf传false
   */
  private Boolean convert2Pdf;

}
